/*============================================================================*/
/*  Copyright (C) 2009-2014, iSOFT INFRASTRUCTURE SOFTWARE CO.,LTD.
 *  
 *  All rights reserved. This software is iSOFT property. Duplication 
 *  or disclosure without iSOFT written authorization is prohibited.
 *  
 *  @file       <CanNm_Cfg.c>
 *  @brief      <>
 *  
 *  <MCU:TC1782>
 *  
 *  @author     <>
 *  @date       <2016-08-31 14:17:38>
 */
/*============================================================================*/


#include "CanNm.h"

#define CANNM_START_SEC_CONST_UNSPECIFIED
#include "CanNm_MemMap.h"
CONST(CanNm_ChannelConfigType, CANNM_CONST) CanNm_ChannelConfigData[CANNM_NUMBER_OF_CHANNELS] =
{
	{
	#if(CANNM_BUS_LOAD_REDUCTION_ENABLED == STD_ON)	
        TRUE,         /* busLoadReductionActive */
  	#endif  
        TRUE,        /* channelActive */  
   	#if(CANNM_PASSIVE_MODE_ENABLED == STD_OFF)   
        0u,        /* msgCycleOffset */   
        50u,         /* msgCycleTime */
	  	#if(CANNM_BUS_LOAD_REDUCTION_ENABLED == STD_ON)  
	        25u,         /* msgReducedtime */
	  	#endif
	  	#if (CANNM_IMMEDIATE_TXCONF_ENABLED == STD_OFF)  
	        25u,         /* MsgTimeoutTime */ 
	  	#endif
	  	#if(CANNM_NODE_DETECTION_ENABLED == STD_ON)  
	        2u,        /* NodeId*/
	  	#endif	  	  
  	#endif
  		#if(CANNM_NODE_ID_ENABLED == STD_ON)   
	       CANNM_PDU_BYTE_0,        /* pduNidPosition */
	  	#endif
        CANNM_PDU_BYTE_1,         /* pduCbvPosition */   
        8u,        /* pduLength */
  	#if(CANNM_REMOTE_SLEEP_IND_ENABLED== STD_ON)   
        150u,         /* remoteSleepIndTime */
  	#endif   
        100u,         /* repeatMsgTime */   
        100u,        /* timeoutTime */   
        6u,        /* userDataLength */   
        2000u,        /* waitBusSleepTime */   
        0u,        /* ChannelId */
  	#if (CANNM_PASSIVE_MODE_ENABLED == STD_OFF)        
        0x2u,        /* TxPduId */
  	#endif
	},	
};

#define CANNM_STOP_SEC_CONST_UNSPECIFIED
#include "CanNm_MemMap.h"

#define CANNM_START_SEC_CONST_UNSPECIFIED
#include "CanNm_MemMap.h"
CONST(NetworkHandleType, CANNM_CONST) CanNm_NetworkHandle[CANNM_NUMBER_OF_CHANNELS] =
{
	{	   
	    0x0u,        /* canNmNetworkHandle */
	},	
};
#define CANNM_STOP_SEC_CONST_UNSPECIFIED
#include "CanNm_MemMap.h"
